// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import VueResource from 'vue-resource'
import App from './App'
// import router from './router'
// 导入自己的路由模块
import router from './router/router'

import {Header,Swipe,SwipeItem,Navbar} from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.component(Header.name, Header)
Vue.component(Swipe.name, Swipe)
Vue.component(SwipeItem.name, SwipeItem);
Vue.component(Navbar.name, Navbar)
// 导入 mui样式
import './assets/dist/css/mui.css'
import './assets/dist/css/icons-extra.css'

Vue.config.productionTip = false
Vue.use(VueResource)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
